#ifndef ENDPOINTLISTWIDGET_H
#define ENDPOINTLISTWIDGET_H

#include <QListWidget>

class EndPointListWidget : public QListWidget
{
    Q_OBJECT
public:
    explicit EndPointListWidget(QWidget *parent = nullptr);
    ~EndPointListWidget();

signals:
    void newPortAdded(const QString& portName, bool isVirtual = false);

protected:
    void dragEnterEvent(QDragEnterEvent *event) override;
    void dragMoveEvent(QDragMoveEvent *event) override;
    void dropEvent(QDropEvent *event) override;
};

#endif // ENDPOINTLISTWIDGET_H
